<%@page import="Model.ListWord"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<core:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>eWiki</title>
            <link rel="stylesheet" media="screen" type="text/css" title="Design" href="../design.css"/>
        </head>
        <body>
            <div class="pageTitre">
                eWiki - <span id="session"><html:outputText value="#{listWord.word}" /></span><span id="in">(view)</span>
            </div>
            <div class="cadreMenu" id="Top">
                <a href="<%=request.getContextPath()%>/wiki/" class="bouton">Home</a> |
                <a href="<%=request.getContextPath()%>/wiki/<html:outputText value="#{listWord.word}" />!edit" class="bouton">Edit</a> | 
                <a href="<%=request.getContextPath()%>/wiki/<html:outputText value="#{listWord.word}" />!hist" class="bouton">History</a>
            </div>
            <form id="page">
                <div id="text"><html:outputText escape="false" value="#{listWord.html}" /></div>
            </form>
            <div class="cadreMenu" id="bottom">
                <div id="r">
                    Kilian Panot &amp; Matthieu Barile
                </div>
                <div id="l">
                    <a href="<%=request.getContextPath()%>/wiki/!list" class="bouton">Liste des mots</a>
                </div>
            </div>
        </body>
    </html>
</core:view>